From: Matthias Clasen Date: Wed, 5 Sep 2018 23:54:32 +0000 (-0400) Subject: Fix portal path handling X-Git-Tag: archive/raspbian/3.24.0-3+rpi1~1^2~10 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1d5339a409deefd72c34bfa5e675e37cd152b235;p=gtk%2B3.0.git Fix portal path handling This was broken when I recently introduced this helper function. Origin: upstream, commit:47122288b82e50b88e3185d960e2ba5ee8a27a36 Applied-Upstream: 3.24.1 Gbp-Pq: Name Fix-portal-path-handling.patch --- diff --git a/gtk/gtkprivate.c b/gtk/gtkprivate.c index 6428347f04..a437047658 100644 --- a/gtk/gtkprivate.c +++ b/gtk/gtkprivate.c @@ -307,7 +307,7 @@ get_portal_path (GDBusConnection *connection, if (sender[i] == '.') sender[i] = '_'; - path = g_strconcat ("/org/freedesktop/portal/desktop", "/", kind, "/", sender, "/", token, NULL); + path = g_strconcat ("/org/freedesktop/portal/desktop", "/", kind, "/", sender, "/", *token, NULL); g_free (sender);